/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package ModelLayer;

import DBLayer.MapName;

/**
 *
 * @author Evil
 */
public class CarEngine
{
    @MapName(ColumnName="ID")
    private int engineID;
    @MapName(ColumnName="Fuel")
    private String fuel;
    @MapName(ColumnName="EngineSize")
    private double engineSize;
    @MapName(ColumnName="HK")
    private int hk;
    @MapName(ColumnName="Price")
    private double price;

    public CarEngine(String fuel, double engineSize, int hk, double price)
    {
        this.fuel = fuel;
        this.engineSize = engineSize;
        this.hk = hk;
        this.price = price;
    }

    public CarEngine()
    {
        
    }

    public int getEngineID() {
        return engineID;
    }

    public void setEngineID(int EngineID) {
        this.engineID = EngineID;
    }


    public double getEngineSize()
    {
        return engineSize;
    }

    public void setEngineSize(double engineSize)
    {
        this.engineSize = engineSize;
    }

    public String getFuel()
    {
        return fuel;
    }

    public void setFuel(String fuel)
    {
        this.fuel = fuel;
    }

    public int getHk()
    {
        return hk;
    }

    public void setHk(int hk)
    {
        this.hk = hk;
    }

    public double getPrice()
    {
        return price;
    }

    public void setPrice(double price)
    {
        this.price = price;
    }

    
}
